package com.wnhz.wnmap.actor.controller;

import cn.hutool.http.HttpRequest;
import com.wnhz.wnmap.common.result.HttpResp;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/actor")
public class ActorController {

    @Value("${hz.weather}")
    private String weather;

    @GetMapping("/hello")
    public HttpResp hello(){
        return HttpResp.success(weather);
    }
}
